Electrophysiology diagnostic device including variable capacitance emulation and voltage threshold determination circuits

ABSTRACT

An electrophysiology diagnostic device generating a high voltage (HV) pulse of a predetermined shape, which device is electrically connected to a patient&#39;s heart, i.e., a load resistance and which device includes a microprocessor and a load resistance measuring device, consists of a rapid response voltage threshold determination (RRVTD) circuit and a variable capacitance emulation (VCE) circuit. The RRVTD circuit receives an actual signal corresponding to the HV pulse waveform, compares the actual signal with a desired signal and produces an error signal when the actual signal deviates from the desired signal by a predetermined threshold value. The VCE circuit, which is capable of emulating a selected capacitance C, includes a fixed capacitor C 0 , and first and second branch circuits including respective resistors R 1  and R 2  and corresponding switching elements, connected in parallel with the load resistance R L . According to one aspect of the VCE circuit, the selected capacitance C satisfies the expression C= (R L  ||R eff )*C 0  !/R L , where R eff  is an effective resistance value produced by pulse width modulation control of at least one of the resistors R 1  and R 2  using corresponding switch elements. The individual circuits, respective methods for operating the same as well as methods for operating the electrophysiology diagnostic device are all described.

BACKGROUND OF THE INVENTION

The present invention relates generally to an electrophysiology diagnostic device employed during the implantation of an implantable cardioverter-defibrillator (ICD). More specifically, the present invention relates to an electrophysiology diagnostic device including variable capacitance emulation and rapid response voltage threshold determination circuits.

A healthy heart beats approximately 100,000 times a day and pumps about five quarts of blood each minute. The heart beat is regulated by electrical impulses or signals, which signals originate in the hearts natural pacemaker, the sinoatrial (SA) node. The SA node, which is located in the right atrium, produces very small electrical impulses that vary in rate depending upon the body's demands for oxygen and nutrients. Typically, the SA node controls the heart rate in the range of 60 to 80 heart beats per minute (bpm) in an average person at rest. These signals first cause the atria to contract and are then routed to the ventricles, causing the latter to contract, via the atrioventricular (AV) Node.

If the heart's own electrical signal is interrupted, delayed, or stopped, heart rhythm disturbances, i.e., arrhythmia, can result. Cardiac arrhythmia is classified as either bradyarrhythmia or tachyarrhythmia. In bradyarrhythmia or bradycardia, the heart rate is too slow to meet the body's demands; in tachyarrhythmia, the heart rate is fast but inefficient so that the heart cannot meet the body's blood circulation demands. Tachyarrhythmia is further subdivided into tachycardia and fibrillation. Tachycardia generally signifies a resting heart rate in excess of 100 bpm while fibrillation signifies a heart beat which is so fast and random that blood circulation, for all practical purposes, stops. Tachyarrhythmia, particularly ventricual fibrillation, is a life threatening condition.

A recently introduced medical device, the implantable cardioverter-defibrillator (ICD), delivers bradycardia pacing and tiered therapy, i.e., three different therapeutic electrical impulses to the heart: antitachycardia pacing; cardioversion; and defibrillation. ICDs are electrical devices, about the size of a deck of cards, that are attached to one or more leads or wires inside or outside of the heart, and are implanted into either the patient's chest or abdomen. These devices can detect and treat very fast, lethal heart rhythms by either shocking the heart or pacing the heart back to a normal rhythm. Most ICD's utilize diagnostic algorithms base primarily on sensed heart rate to identify tachyarrhythmias. For example, a device may be programmed to identify tachyarrhythmia for a sensed heart rate of 180 bpm or greater. If it senses that the average heart rate for a predetermined number of intervals is greater than or equal to 180 bpm, it will initiate either anti-tachycardiac pacing or a high voltage (HV) cardioversion pulse according to its programmed parameters. Many ICDs also offer electrogram (EGM) storage of arrhythmia events treated by the ICD.

ICD implantation requires a surgical procedure which has evolved over time. The most common technique currently used includes a non-thoracotomy, lead alone approach which involves insertion of one or more transvenous leads into the subclavian vein in the shoulder after which the lead is advanced into the right ventricle of the heart. The proximal end of the lead is attached to the ICD placed in the chest (like a pacemaker). If needed, a small subcutaneous patch electrode may be implanted under the skin on the left lateral chest wall.

The output stage 100 of a typical ICD is illustrated schematically in FIG. 1. The illustrated resistance-capacitance. (RC) circuit consists of a capacitor C₀ for supplying a controlled electrical HV pulse to the load resistance R_(L), i.e., the patient's heart and the leads connected thereto, via a switch assembly S₀, which is shown as a double pole, double throw (DPDT) type switch assembly. It will be appreciated that the electrical pulse delivered to the load R_(L) exhibits a high voltage peak soon after switch assembly S₀ is closed, followed by exponential decay of the voltage through load resistance R_(L). Many advanced ICDs apply a so-called biphasic pulse to load resistance R_(L), as shown in FIG. 2, by reversing the leads running to the load resistance R_(L) during the pulse period. It will be appreciated that V_(1i) and V_(1f) and that V_(2i) and V_(2f) in FIG. 2 refer to the initial and final voltages of pulses P₁ and P₂, respectively, of pulse widths PW₁ and PW₂. The specified pulse shape can also be derived by switching between two capacitors located in the ICD, as discussed below. Hereinafter, the delivered, exponentially decaying HV electrical pulse shall be referred to using the generic term "HV pulse" irrespective of the output waveform.

It will also be appreciated that the energy E stored by the capacitor C₀ is given by the expression:

    E=0.5*C.sub.0 *V.sup.2                                     ( 1)

where E is the energy in joules, C₀ is the capacitance in farads (F) and V is the voltage in volts. Pacing pulses (delivered from a separate, independent output stage) are normally in the range of micro- to millijoules; cardioversion pulses generally range between 1.0 and 5.0 joules. Defibrillation therapy applies HV pulses delivering from 5.0 to 50 joules to the patient's heart per pulse.

During implantation of the ICD device, two parameters are typically determined. First, the load resistance R_(L), i.e., heart impedance and lead resistance, is determined. Load resistance R_(L) must be assumed to be an unknown at first since it is a complicated function of a given patient's heart and the ICD lead placement. Moreover, since it should be assumed that the patient impedance may vary somewhat from shock to shock due to possible repositioning of the leads, i.e., changes in the electrode/tissue interface, patient safety considerations suggest that a determination of R_(L) should be made via a measurement at the beginning of or immediately following each HV pulse event. For example, the electrophysiology apparatus described in commonly assigned U.S. Pat. Nos. 5,115,807, 5,014,697 and 4,827,936, which patents are incorporated herein by reference for all purposes, disclose that the load resistance R_(L) is not determined until the HV pulse event has been completed. Since the amount of energy delivered to a patient and the rate of change in the HV pulse energy are greatest during the first portion of the HV pulse exponential decay, the patient impedance should be determined as soon as possible in order to limit energy delivery to the patient's heart in excess of that needed for defibrillation. Conventional measurement systems in such electrophysiology apparatuses permit as much as a 25 volt error between the desired HV pulse and the actual HV pulse before corrective measures to limit the energy applied to the heart are initiated.

Although the size of the capacitor C₀ in the ICD output stage 100 is known, new ICD models are being released every year and they may have different capacitor values. It will be appreciated that the size of the capacitor C₀ will impact the useful life of the power supply incorporated into the ICD, i.e., the smaller the capacitor, the longer the power supply will last. However, the smaller the capacitor, the less energy it can deliver and, consequently, the less safety margin it can provide. For that reason, a number of ICD devices, each with a different capacitance, may be provided to the physician for selection during the implantation procedure with the optimum device being selected based on measured defibrillation thresholds (DFTs). Since the electrophysiology diagnostic device should provide at least a corresponding number of exponentially decaying HV pulse waveforms for accurate DFT testing, it is generally accepted that the electrophysiology diagnostic device will contain either a variable capacitor or a selection of fixed capacitors corresponding in size to the capacitors in the available ICD device models, which fixed capacitors can be installed in the electrophysiology diagnostic device one at a time. However, since variable capacitors are generally not available in the 50-150 microfarad (μF) range, particularly with the compact footprint and low equivalent series resistance (ESR) needed for the electrophysiology diagnostic device, the conventional solution is to use replaceable, interchangeable capacitors. It will also be appreciated that since the capacitors used in ICD devices are fast discharge capacitors, e.g., photo-flash capacitors, the cost for providing several interchangeable capacitors for use in the electrophysiology diagnostic device may be prohibitively expensive due to the custom nature of the capacitors, based on the limited number of sizes of suitable, commercially available capacitors.

SUMMARY OF THE INVENTION

The principal purpose of the present invention is to overcome the problems and deficiencies noted in the discussion of related art immediately above.

The principle object of the present invention is to provide an electrophysiology diagnostic system providing rapid determination of patient impedance so as to permit emulation of a selected exponentially decaying HV pulse having minimal ripple and thus minimizing the error in the energy distribution applied to the patient.

A primary advantage of the present invention is the emulation of a plurality of exponentially decaying HV pulses with minimal ripple using a fixed capacitor. According to one aspect of the present invention, a bank of circuit branches, each branch containing a fixed resistor and a switching element, is connected in parallel with the load resistance in an RC circuit wherein selected ones of the switching elements are energized so as to simulate a desired effective parallel resistance, permitting adjustment of the RC time constant t and thereby permitting emulation of a desired capacitance value.

These and other objects, features and advantages according to the present invention are provided by an electrophysiology diagnostic system electrically connected to a load resistance corresponding to a patient's heart for delivering a high voltage (HV) pulse thereto, the diagnostic system including a microprocessor and a load resistance measuring device. According to one aspect of the invention, a plurality of pulse width modulation controlled (PWM controlled) resistors are connected in parallel with the load resistance, in this case a human heart, to emulate a desired resistance-capacitance time constant t and thereby model a desired exponentially decaying HV pulse dissipated by the load resistance. According to another aspect of the invention, a rapid response voltage threshold determination (RRVTD) circuit permits early recognition of errors during measurement of an unknown load resistance, thus controlling, e.g., dissipating the excess energy within, the applied HV pulse in advance of the completion of the actual load resistance measurement. Digital and analog versions of the RRVTD circuit are described.

The diagnostic system includes an RRVTD circuit receiving an actual signal corresponding to an actual waveform of the HV pulse, comparing the actual signal with a desired signal generated by the microcomputer, and generating an error signal when the actual signal deviates from the desired signal by a predetermined threshold value within a predetermined short period of time and a variable capacitance emulation circuit capable of emulating a selected capacitance C, the variable capacitance emulation circuit comprising a fixed capacitor C₀, and first and second branch circuits including respective resistors R₁ and R₂ and corresponding switching elements, connected in parallel with the load resistance R_(L). According to another aspect of the present invention, the selected capacitance C satisfies the expression C= (R_(L) ||R_(eff))*C₀ !/R_(L), wherein R_(eff) is an effective resistance value produced by PWM control of the first and second resistors R₁ and R₂ using corresponding first and second switch elements. According to another aspect of the invention, the predetermined short period of time is less than the time required to completely measure the load resistance R_(L), after initiation of the HV pulse.

These and other objects, features and advantages according to the present invention are provided by an electrophysiology diagnostic system delivering a high voltage (HV) pulse to a patient's heart which has a measurable load resistance R_(L). In an exemplary case, the diagnostic system includes a fixed capacitor, a plurality of parallel branch circuits each having one resistor and a corresponding switching and driving element coupling one node of the capacitor to ground, a microprocessor generating first digital words corresponding to a desired shape of the HV pulse, a load resistance measuring device generating second digital words corresponding to the actual shape of the HV pulse, a look up table indexed by the second digital words for storing indexed configuration words, a programmable logic device electrically connected to the microprocessor, the respective switch elements of the branch circuits, and the load resistance measuring device. Advantageously, the programmable logic device receives first and second digital words, compares the first and second digital words, reads a first configuration word when the second digital word deviates from the first digital word by a predetermined threshold value within a predetermined short time period, and reads second configuration words after the predetermined short time period has expired. Moreover, the programmable logic device provides the first and second configuration words to the respective switching and driving elements of the branch circuits. Responsive to these configuration words, first selected ones of the branch circuits connect the capacitor to ground through first respective resistors during the predetermined short time period to thereby prevent excess energy provided by the capacitor from being applied to the load resistance, while second selected ones of the branch circuits connect the capacitor to ground through second respective resistors after the predetermined short time period has expired so as to convert the actual shape of the HV pulse into the desired shape of the HV pulse.

These and other objects, features and advantages according to the present invention are provided by a method for controlling an electrophysiology diagnostic system delivering a high voltage (HV) pulse to a patient's heart which has a measurable load resistance R_(L) including a fixed capacitor, a plurality of branch circuits each having one resistor and a corresponding switching and driving element, each of the branches being coupled between one node of the capacitor and ground, a microprocessor generating first digital words corresponding to a desired shape of the HV pulse, a load resistance measuring device generating second digital words corresponding to the actual shape of the HV pulse, a look up table indexed by the second digital words for storing a plurality of configuration words and a programmable logic device electrically connected to the microprocessor, the respective switch and driver elements of the branch circuits, and the load resistance measuring device. Preferably, the method includes steps for receiving the first and second digital words, comparing the first and second digital words to each other, reading a first configuration word when the second digital word deviates from the first digital word by a predetermined threshold value within a predetermined short time period, reading a second configuration word after the predetermined short time period has expired, providing the first and second configuration words to the respective switching and driving elements of the branch circuits, PWM controlling the switching and driving elements of the branch circuits responsive to the first configuration word, whereby first selected branch circuits connect the capacitor to ground through first respective resistors during the predetermined short time period to thereby prevent excess energy provided by the capacitor from being applied to the load resistance, and PWM controlling the switching and driving elements of the branch circuits responsive to the second configuration word, whereby second selected branch circuits connect the capacitor to ground though second respective resistors after the predetermined short time period has expired to thereby convert the actual shape of the HV pulse into the desired shape of the HV pulse.

These and other objects, features and advantages according to the present invention are provided by a method for limiting energy in the form of a high voltage (HV) pulse delivered from an electrophysiology diagnostic system to a patient's heart which has a measurable load resistance R_(L), the electrophysiology diagnostic system having a fixed capacitor, a plurality of branch circuits each having one resistor and a corresponding switching and driving element, each of the branches being coupled between a first node of the capacitor and ground, a microprocessor controlling a desired shape of the HV pulse, a first measuring device generating a first signal indicative of the load resistance R_(L), a second measuring device generating a second signal indicative of voltage of the fixed capacitor, and a programmable logic device electrically connected to the microprocessor, the respective switch and driver elements, and the first and second measuring devices. Preferably, the method includes steps for detecting either the first signal or the second signal, where either indicates that the energy in the fixed capacitor is being dissipated by the load resistor R_(L) and coupling the fixed capacitor to ground using all of the branch circuits simultaneously to thereby minimize the energy stored in the fixed capacitor that is dissipated by load resistor R_(L).

These and other objects, features and advantages of the invention are disclosed in or will be apparent from the following description of preferred embodiments.

BRIEF DESCRIPTION OF THE DRAWINGS

The preferred embodiments are described with reference to the drawings in which like elements are denoted by like or similar numbers and in which:

FIG. 1 is a schematic circuit diagram which is useful in understanding the function and operation of an ICD device;

FIG. 2 illustrates a typical biphasic HV pulse produced by the ICD device output stage pictured in FIG. 1;

FIG. 3 is a high level, partially block and partially schematic diagram of selected components of an electrophysiology diagnostic device according to the present invention including both a variable capacitance emulation circuit and a rapid response voltage threshold determination circuit;

FIG. 4 is an exemplary circuit diagram which finds use in explaining the operation of a variable capacitance emulation circuit according to one aspect of the present invention illustrated in the block diagram of FIG. 3;

FIG. 5 is a more detailed schematic diagram of the exemplary circuit illustrated in FIG. 4;

FIG. 6 is a detailed, partially schematic diagram illustrating a first preferred embodiment of the rapid response voltage threshold determination circuit according to another aspect of the electrophysiology diagnostic device shown in FIG. 3;

FIG. 7 is a detailed, partially schematic diagram illustrating a second preferred embodiment of the rapid response voltage threshold determination circuit of yet another aspect of the electrophysiology diagnostic device shown in FIG. 3; and

FIG. 8 illustrates several waveforms which are useful in understanding the operation of the circuit illustrated in FIG. 7;

FIG. 9 is a detailed diagram of selected components of the electrophysiology diagnostic device system according to the present invention;

FIGS. 10A through 10C are computer generated plots which are useful in understanding the operation of the electrophysiology diagnostic device system illustrated in FIGS. 3 and 9;

FIG. 11 is a flow chart depicting the operational steps performed by the electrophysiology diagnostic device of FIG. 9 both preceding and during a HV pulse event;

FIG. 12 is a table illustrating dynamic range variation depending on the operating configuration of the resistor taps illustrated in FIG. 9; and

FIG. 13 is a table which is useful in understanding the selection of digital words which can be stored in LUT 440 of FIG. 9, in an exemplary case.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

A preferred embodiment according to the present invention will now be described while referring to FIG. 3, wherein an electrophysiology diagnostic device 200 includes a microcontroller unit (MCU) 500 controlling both a variable capacitance emulation circuit (VCE) 300 and a rapid response voltage threshold determination (RRVTD) circuit 400. According to one aspect of the invention, a plurality of pulse width modulation controlled (PWM controlled) resistors are connected in parallel with the load resistance, in this case a human heart, to emulate a desired resistance-capacitance time constant t and thereby model a desired exponentially decaying pulse dissipated by the load resistance. This is the principal function of VCE 300. According to another aspect of the invention, the RRVTD circuit permits early recognition of errors during measurement of an unknown load resistance, thus controlling, e.g., dissipating the excess energy within, the applied voltage pulse in advance of the completion of the actual load resistance measurement. Digital and analog versions of the RRVTD circuit are described below.

Preferably, the RRVTD circuit 400, which is connected to a voltage divider made up of the load resistance R_(L) and a shunt resistor R_(S), compares the voltage drop at the shunt resistance R_(S) with the ideal voltage drop at a given moment in time and generates signals indicative of a voltage mismatch. These signals are received by MCU 500, which advantageously includes an input/output (I/O) circuit 510, a microprocessor 520, a read only memory (ROM) 540 storing operational instructions and a random access memory (RAM) 530 storing refreshable data. The VCE circuit 300 advantageously produces the required HV pulse applied to the load resistance R_(L) under the control of MCU 500 responsive to the output of RRVTD circuit 400, as will be discussed in greater detail below.

The VCE circuit 300 advantageously emulates a variable capacitance producing an exponentially decaying RC waveform for a given resistive (patient) load R_(L). Before describing the actual circuit components making up the VCE circuit 300, a brief description of the circuitry's operating principles will first be provided.

One of the principal objects of the present invention was the desire to derive an operating method whereby a variable capacitance C could be electronically emulated and used in generating an exponentially decaying RC waveform, i.e., the HV pulse waveform produced by the ICD output stage 100. The emulation of a given capacitance C requires that the time constant Tau (t) be maintained for a given load resistance R_(L) where t equals the product of a resistance and capacitance, i.e., t=R_(i) *C_(j), where i and j signify one in a number of possible solutions. Stated another way, for a desired t, there are any number of capacitance-resistance combinations which will satisfy the constraint imposed by a fixed t. Thus, as seen from the perspective of load resistance R_(L),

    t=R.sub.L *C                                               (2)

where C is the desired capacitance. When the actual capacitance is C₀, it is required that the expression,

    t=R.sub.L *C=(R.sub.L ||R.sub.eff)*C.sub.0 (3)

where the shunt resistance R_(S) shown in FIG. 3 is considered negligible, be satisfied. Since C₀ is known, nominally by design and accurately through calibration, and C is selected, once load resistance R_(L) is known, the only remaining unknown, R_(eff), advantageously can be determined from the expression

    R.sub.eff =R.sub.L /((C.sub.0 /C)-1).                      (4)

As discussed above, the load resistance R_(L) is first assumed to be an unknown since it is a complicated function of heart physiology and ICD lead placements. R_(L) is measured using the shunt resistor R_(S) shown in FIG. 3 according to a method which is discussed in greater detail below. Empirically, the effect of resistor R_(eff) can be seen as siphoning off the excess energy (or current) from C₀ so that load resistance R_(L) sees only the energy (or current) that it would see if a capacitor C of the desired smaller value were provided in place of the actual capacitor C₀ in VCE circuit 300.

It should be noted that load resistance R_(L) will generally fall within the range of 15-120 Ω and will nominally fall within the range of 20-50 Ω. It should also be noted that the possible range of desired capacitance values for capacitor C is 50 μF for newer ICD devices through 150 μF for the current generation of ICDs. From these two design constraints, it was determined that resistor R_(eff) would have to be adjustable over the range of about 6 to 1000 Ω. Although this resistance range could be accommodated by, e.g., a conventional high power decade resistance circuit, the real estate taken up by such a circuit would be a high percentage of the available area for all circuits. Moreover, with conventional decade resistance circuits or even infinitely variable resistors, automatic control of the overall resistance value for resistor R_(eff) sufficient to permit, for example, the emulation of a capacitor C with a non-linear voltage-capacitance characteristic would not be possible.

To accommodate these additional design constraints, it has been discovered that one can use a resistor R₁ to produce or simulate R_(eff), where R₁ is connected in parallel with load resistance R_(L) and connected to ground via an electronic switching device S₁. See FIG. 4. Advantageously, the switching device S₁ can be driven by a pulse width modulation (PWM) driver circuit 320 so that the resistor R₁ may be a PWM controlled resistor R₁. It will be appreciated from FIG. 4 that resistor R₁ is also placed in parallel with the actual capacitor (C₀). It should be noted that a PWM controlled resistor R₁ exhibits an effective resistance R_(eff) according to the following equation:

    R.sub.eff =R.sub.1 /α                                (5)

where α denotes the service factor, i.e., the percentage of time that R₁ is connected to ground via switching device S₁.

It should also be noted that the use of properly selected multiple PWM controlled resistors R₁ -R_(N), which may alternatively be denoted as "taps", advantageously can increase the dynamic range and achieve a more practical emulation of a variable capacitance C producing an exponentially decaying RC waveform, i.e., the exponentially decaying HV pulse, as discussed in greater detail with respect to FIGS. 5 and 9.

A practical implementation of the exemplary circuit depicted in FIG. 4, which would require several "taps" or PWM controlled resistors R₁ -R_(N) of various values to operate in an exemplary 6 to 1000 Ω target range for R_(eff), is shown generally in FIG. 5 and specifically in FIG. 9. Referring first to the exemplary circuit according to a preferred embodiment of the present invention shown in FIG. 5, a plurality of resistive branch circuits are connected in parallel with both capacitor C₀ and load resistance R_(L). Preferably, each branch circuit includes a fixed resistor R_(N) and a corresponding switching element S_(N), where N is a positive integer. In an exemplary case, each of the switching elements S_(N) is electrically connected to a common PWM driver circuit 320', which advantageously generates switching signals at corresponding frequencies f_(N). Preferably, each of the switch elements S_(N) is a transistor switch and, most preferably, each of the switch elements S_(N) is an insulated gate bipolar transistor (IGBT) switch. It will be appreciated that any number of parallel resistor-switch branch circuits can be located between R₁ and R_(N). This circuit was developed to accommodate a given range of resistance for several important reasons, which reasons are discussed immediately below.

First, it should be noted that switching elements employing IGBTs would be required to handle the worst case voltage and current requirements of the VCE circuit 300 depicted in FIG. 5. Furthermore, it will be appreciated that the modulation rate of an IGBT is inversely proportional to the current through the IGBT, i.e., the higher the current, the slower the frequency of operation. Thus, an 850 Volt potential applied across a single 6 Ω resistor would produce a current of approximately 142 amperes. Assuming arguendo that a typical IGBT could handle that peak current, the maximum possible switching frequency f_(N) for this current would be far below 1 kHz, i.e., 1 millisecond (msec). Since the worst case HV pulse would only last about 2 msec until a final value below 10% of the initial voltage was reached, it will be readily apparent that this switching frequency is far too slow. To prevent severe ripple and maintain reasonable control, it is preferable that each PWM controlled resistor R_(N) be modulated using a modulation percentage in the range of about 10% to 90%, as discussed below.

Additionally, it will be appreciated that, in practical circuits, it is difficult to achieve PWM switching frequencies f_(N) approaching 0% or 100%. This is especially true when the PWM switching frequency f_(N) is high and On or Off periods on the order of a few microseconds are desired. For example, to achieve an effective resistance of 120 Ω using a 6 Ω resistor operating in accordance with equation (5) would require 5% modulation be produced by driver circuit 320'. Moreover, the output waveform would have a pronounced "stair-step" appearance resulting from a severe drop in the waveform voltage during the 5% modulation period.

In addition, it should be mentioned that the symbols used in depicting the IGBT switches S_(N) in FIGS. 4 and 5 may be taken as portraying metal oxide semiconductor field effect transistors (MOSFETs) by those of ordinary skill in the art. This would be a harmless error since IGBTs and MOSFETs would, for the purposes of this illustration, be interchangeable at any current below the MOSFET's I_(MAX) limit.

Since the maximum operating frequency f_(MAX) of the typical IGBT is inversely proportional to the current I conducted, several alternative circuit arrangements advantageously reduce the current I_(N) through each respective IGBT switching element S_(N), thus increasing the IGBT's maximum switching frequency f_(MAX). The first such circuit arrangement would be to install multiple identical resistive branches instead of using a single branch. For example, two parallel resistive branches, each including a 12 Ω resistor would have an effective on-resistance of 6 Ω and each 12 Ω resistor would conduct only 71 Amps. Alternatively, the operating frequency of the IGBT advantageously can be increased by providing one or more high valued resistors, each of which could be selectively turned On or Off, in parallel with the PWM controlled resistor R_(N). The solution of using different fixed resistor "taps" with the PWM controlled resistor R_(N) for each resistance range would allow a practical circuit with reasonable modulation and, at the same time, would avoid severe ripple (noise) and other associated design problems.

A more elegant and novel circuit arrangement according to one aspect of a preferred embodiment of the present invention requires that multiple PWM controlled resistors taps are advantageously modulated simultaneously. Hereinafter, the expression resistor taps may be used to signify the resistors R₁ -R_(N), i.e., multiple resistors R_(N). By modulating several resistors simultaneously, the dynamic range advantageously can be increased while maintaining a low part count. For example, PWM controlled resistor taps of 12, 20, 27 and 130 Ω would provide combinations of one or more resistors yielding resistive values including 5.6, 10.6, 11.5, 12, 17.3, 20, 22.4, 27 and 130 Ω. See FIG. 9. This circuit arrangement is advantageously independent of the switching elements selected since it allows each of the resistors R₁, R₂, R₃, . . . , R_(N) to be a higher resistance value and thus be modulated at a higher frequency, i.e., the circuit arrangement carries less current for a given voltage.

A fundamental problem with the topology described above is that the worst case of a low patient impedance and a low capacitor emulation value requires a low PWM controlled resistor tap value (or composite PWM controlled resistors R₁ and R₂ values) which results in high IGBT currents I_(N) and corresponding low switching frequencies f_(N). Modulating multiple PWM controlled resistors R_(N) allows the VCE circuit 300 to work well for the short decays with high peak currents as the "slow" PWM controlled resistors, e.g., R₁ and/or R₂, are augmented by "faster" PWM controlled resistors, e.g., R₃ and R₄, which faster PWM controlled resistors advantageously can keep the ripple down and maintain an output waveform with low error (noise or ripple). The above modulation technique for the VCE circuit 300 depicted in FIG. 5 helps minimize the constraints imposed by the physics of the selected switch.

It will be appreciated that the current limited switching frequency problem is typical of, but not limited to, IGBTs since physics shows that the switching rate will be limited for any electronic switch that has a less than instantaneous switching speed. This is due to the power absorbed by the device for each switching event and the ability of the device to dissipate the instantaneous and average power. The switching rate is thus limited by the device's instantaneous and average power capabilities, the switching speed (transition time) and the current density for each switching event. Thus, while the VCE circuit 300 according to a preferred embodiment of the present invention uses, in an exemplary configuration, IGBTs, the present invention is not limited to a particular switching element. Thus, other devices such as power MOSFETs and bipolar transistors advantageously can be used in place of the IGBTs discussed above.

Referring to FIG. 9, using available IGBTs to which a 850 Volt peak exponentially decaying waveform can be applied as switching elements SD_(N), the 12 Ω tap can be modulated at 1 kHz (1 msec), the 20 Ω tap can be modulated at 5 kHz (0.2 msec) and the 27 and 130 Ω taps can be modulated at 10 kHz (0.1 msec) or more, as shown in the following table.

    ______________________________________                                                Value       Modulation  Modulation                                      Tap    (Ohms)      Frequency (kHz)                                                                            Period (μsec)                                ______________________________________                                         R.sub.1                                                                               12          ≦1   1000                                            R.sub.2                                                                               20          5           200                                             R.sub.3                                                                               27          10          100                                             R.sub.4                                                                               130         10          100                                             ______________________________________                                    

Once the topology of the VCE circuit 300 according to a preferred embodiment of the present invention was selected, it became reasonable to expect that there would be an optimal solution (algorithm) for modulating the available PWM controlled resistor taps. Stated another way, it seemed reasonable that since there are solutions that are considerably less than optimal, it follows that there should be some solution that is optimal.

When a resistance R_(eff) is to be emulated using two or more resistor taps, the optimal PWM control needed to provide the minimum ripple (noise) is achieved through turning one resistor, or set of resistors, Off when the second resistor, or set of resistors, is turned On. The goal of the modulation technique for operating the VCE circuit 300 according to a preferred embodiment of the present invention is to permit switching between a resistance R₁ that is less than the target resistance R_(eff) to a resistance R₂ that is greater than the target resistance R_(eff), or vise versa, without generating a dwell or overlap period. Practical application in a system with two or more resistors preferably can be implemented using two or more PWM controlled resistors while any additional resistors remain either On or Off so as to provide an appropriate bias.

When using a multiple PWM controlled resistor tap scheme to emulate a variety of capacitor configurations reproducing exponentially decaying RC waveforms, the error or ripple preferably must be minimized. This is done to more closely emulate the ideal RC waveform, which is a smooth exponential decay, and to avoid "chopped" looking waveforms which would be unattractive to physicians monitoring the HV pulse. See FIGS. 10A through 10C and the corresponding discussion below. Ripple control also helps avoid the issue of possible second-order effects on the efficacy of the therapeutic HV pulse delivered to the patient due to significant noise (ripple) on the HV pulse. This modulation technique advantageously provides an optimal method of PWM controlling two or more resistor taps such that the error (ripple) between the ideal and emulated exponential RC decay waveforms is minimized. Additionally, this modulation technique advantageously facilitates the avoidance of narrow modulation pulse widths (near 0% and near 100%), which, as mentioned above, are difficult to reproduce with accuracy, when two or more PWM controlled resistor taps are used. Rigorous mathematical analysis confirms that all other modulation techniques will produce a greater error (ripple) under the same modulation constraints. Although this methodology applies to PWM control of two or more resistor taps, the exemplary case wherein two PWM controlled resistors R₁ and R₂ are used is the only case discussed at any length in the interest of brevity.

When a resistance R_(eff) is to be emulated using two PWM controlled resistors R₁ and R₂, where R₁ ≦R_(eff) <R₂, then the optimal proportioning of the R₁ and R₂ PWM occurs when R_(eff) is determined using R₁ /α₁ and R₂ /α₂ such that α₁₊α₂ =1 where each α_(i) is a percentage of the period (T). Thus,

    R.sub.eff =(R.sub.1 *R.sub.2)/((α.sub.2 *R.sub.1)+(α.sub.1 *R.sub.2))                                                (7)

which reduces to

    α.sub.1 =((R.sub.2 /R.sub.eff)-1)/((R.sub.2 /R.sub.1)-1)(8)

assuming that α₂ =(1-α₁). Empirically, this is the case where a value of R₂ appears to always be in the circuit and a value of Re, where R₁ =Re||R₂, is switched in for the minimum duration of α₁ so as to achieve the required value of R_(eff).

The case of R_(eff) >R₂ is a special case of the above general form where R₁ is off and another resistor R₃ appears to be so large that it has no effect with respect to R₂. Mathematically, this is stated as α₁ =0 and α₂ +α₃ =1, where the value of (R₃ /α₃)→∞, so that α₃ is essentially the time R₂ is off. Thus, the generic single PWM controlled resistor case using only R₁ reduces to a special case of the general form shown above where R₂ is very large (∞). Similarly, for R_(eff) <R₁, a resistor R₀ can advantageously be emulated as R₀ =R₁ ||R₂ and can be handled as the case of R₀ ≦R_(eff) ≦R₁ using the general form shown above. In this case, the effect is that R₁ is always On (α₁ =1: during α₀ for R₀ =R₁ ||R₂ and during α₁ as just R₁) and R₂ is On only during the α₀ period (α₂ =α₀) as R₀ =R₁ ||R₂.

When operating according to the above described modulation technique, as many parallel resistor taps may be used as needed in the VCE circuit 300 to expand the emulation range and/or provide greater dynamic range. This may be required to avoid too narrow modulation pulse widths, i.e., pulse widths approaching 0% or 100%, which pulse widths are, as mentioned above, difficult to produce with accuracy especially when only "slow" driver circuitry is required or achievable. It should be noted that there may be engineering trade-offs employed where only a few resistors are modulated while other resistors remain either On or Off to provide an appropriate offset or bias. For example, in the four resistor system illustrated in FIG. 9, two of the resistors, e.g., R₂ and R₃, advantageously may be modulated while the other two resistors, i.e., R₁ and R₄, provide needed bias. The choice of which two resistors are PWM controlled and how the other two resistors are used for establishing the needed bias would depend on the resistance R_(eff) being emulated. In this fashion, any resistance from R=R₁ ||R₂ ||R₃ ||R₄ /(0.9) to R₄ /(0.1) could be effectively emulated using 10% to 90% modulation providing that the resistors are properly selected to avoid dead bands in the desired resistance range.

It should also be noted that in systems employing electronic switches such as IGBTs, lower resistors values will conduct more current for a given voltage and thus need to be run at slower speeds. For each resistance range, the period is established by the slower of the resistor taps to be modulated. This would be the slower of R₁ and R₂ for R₁ ≦R_(eff) ≦R₂ and solely R₂ for R₀ ≦R_(eff) ≦R₁ and R_(eff) >R₂. Thus, it is desirable that R₂ be at least as fast as R₁, preferably faster. If multiple resistor taps are used, then the slowest of these resistors may be switched On to provide a bias that allows the above modulation technique to be used with reasonable speed and reduced ripple. For example, using values of 12, 20, 27 and 130 Ω would require that the 12 Ω resistor be on for R_(eff) <˜11.4 Ω to provide a suitable bias for emulating resistors in the range of ˜5.8Ω≦R_(eff) ≦˜11.4 Ω with a reasonably low error, i.e., ripple, as depicted in FIG. 12. It is important to note that for PWM controlled resistor taps in general, the higher the switching rate associated with a given one of the resistor taps, the less ripple that resistor will produce. However, it should also be noted that the modulation frequency of the lowest PWM controlled resistor, e.g., R₂, is preferably used when controlling all of the PWM controlled resistor taps.

As discussed above, when using a modulation technique employing PWM controlled resistor taps to emulate a variety of electrophysiology diagnostic device capacitor configurations, the error or ripple must be minimized to avoid "chopped" looking waveforms. A simple modulation technique that produces minimum ripple is desirable so that the "optimal" emulation using PWM control may be performed at each point. The optimal solution producing minimum ripple occurs for a resistance R_(eff) to be emulated using two resistors R₁ and R₂, where R₁ ≦R_(eff) ≦R₂, when the following conditions are satisfied:

(a) R_(eff) =R₁ /α₁ ||R₂ /α₂ ; and

(b) α₁ +α₂ =1, where each a_(i) is a percentage of the period (T). Condition (a) can be rewritten in the form:

    R.sub.eff =(R.sub.1 *R.sub.2)/((α.sub.2 *R.sub.1)+(α.sub.1 *R.sub.2))                                                (9)

which generates the solution ##EQU1## which, in turn, reduces to

    α.sub.1 =(a/R.sub.eff)-b                             (11)

where

    a=(R.sub.1 *R.sub.2)/(R.sub.2 -R.sub.1) and                (12)

    b=(R.sub.1 /(R.sub.2 -R.sub.1))                            (13)

Empirically, this is the case where a value of R₂ appears to always be in the circuit and a value of Re, where R₁ =Re||R₂, is switched in for the minimum duration of α₁ so as to achieve the required value of R_(eff). The case of R_(eff) >R₂ is a special case of the above general form where R₃ appears to be so large that it has no effect with respect to R₂ and α₃ is the "dwell" time of R₂. Thus, the generic single resistor PWM case using R₁ only reduces to a special case of the general form shown above where R₂ is very large (∞). Similarly, for R_(eff) <R₁, this case can be rewritten in the form R₀ =R₁ ||R₂ and handled as R₀ ≦R_(eff) ≦R₁ using the general form shown in equation (9) above. In this case, the effect is that R₁ is always on (during α₀ for R₀ =R₁ ||R₂ and during α₁ as just R₁) and R₂ is On only during the α₀ period as R₀ =R₁ ||R₂.

As discussed in detail above, the patient impedance R_(L) is assumed unknown since it is a complicated function of a given heart and ICD lead placements. In fact, it is a poor assumption that the patient impedance R_(L) will remain constant from shock to shock due to possible repositioning of the leads to obtain more favorable thresholds and other patient parameters. Thus, it is required that the determination of R_(L) must be made via a measurement at the beginning of each HV pulse event. Since the amount of energy delivered to a patient and the rate of change in the HV pulse voltage are greatest during the first portion of the exponentially decaying HV pulse, the patient impedance R_(L) must be determined and emulation must be initiated as soon as possible to minimize excess energy delivery to R_(L). This can be done by closely matching the voltage and energy density characteristics of the emulated HV pulse waveform with those of the desired (ideal) HV pulse waveform. For these reasons, the patient impedance measurement plays an important role in the success of the variable capacitor emulation circuit.

Assuming a worst case, i.e., an exemplary case where the HV pulse has an 850 Volt peak, R_(L) =15 Ω, C=50 μF and C₀ =150 μF, there will be approximately a 1 Volt error for each microsecond (μsec) of delay in initiating HV pulse emulation using the above described modulation technique. Since energy can not be placed back into the circuit once it has been absorbed by one of the PWM controlled resistor taps, it is a good assumption that the HV pulse emulation will begin with little or no PWM controlled resistance in the circuit until the patient impedance, i.e., load resistance R_(L), can be determined or at least approximated. The extra energy may then be removed, if desired, by using a temporarily lower R_(eff) achieved by PWM control of the resistor taps in the event that correction is deemed to be important.

Irrespective of the approach used, the deviation between the ideal and the emulated HV pulse waveforms is proportional to the delay in initiating emulation correction, as shown in FIGS. 10A through 10C. FIG. 10A illustrates an ideal exponentially decaying HV pulse as curve A and a plurality of mathematically generated exponentially decaying HV pulses as curves B through E. Curve B depicts the exemplary case wherein the VCE circuit 300 operates to correct the emulated HV pulse at 25 μsec while curve C depicts an alternative case wherein the VCE circuit 300 operates to correct the emulated HV pulse at 50 μsec. In contrast, curve D illustrates HV pulse initial emulation initiated using a resistor R₁ operable at high speed followed by full HV pulse emulation after 25 μsec and curve E portrays HV pulse initial emulation initiated using resistor R₁ and R₂, both of which are operable at high speeds, followed by full HV pulse emulation after 25 μsec. By inspection, the worst case error between curve A and curves B through E occurs for curve C, generating an error of approximately 46 Volts at 50 μsec. Also by inspection, the minimum error between curve A and curves B through E occurs for curve E, generating an error of only about 10 Volts 10 μsec after the HV pulse is initiated. Curves A through E in FIG. 10B illustrate the instantaneous energy in Joules for each of the cases illustrated in curves A through E, respectively, in FIG. 10A. Curves A through E in FIG. 10C illustrate the integrated energy in Joules for each of the cases illustrated in curves A through E, respectively, of FIG. 10A. It will be appreciated that FIGS. 10A through 10C collectively illustrate the efficacy of initiating exponentially decaying HV pulse emulation by PWM control of resistor taps as soon as possible after the actual HV pulse begins.

It will be appreciated that in order to reduce the time required for determination of the PWM control parameters used by the PWM driver circuit 320', a lookup table (LUT) can be constructed where an initial value produced using shunt resistance R_(S), after analog-to-digital conversion, is used as an input and the PWM control parameters for each of resistor taps are LUT outputs. It will also be appreciated that the calculation of the actual patient impedance R_(L) is no longer directly required, since the LUT advantageously translates directly between a digital shunt voltage (A/D reading) indicative of current through load resistor R_(L) and the PWM control parameters for the resistor taps. This advantageously allows for the fastest possible initiation of HV pulse emulation using the above described modulation technique, since the LUT allows all of the required PWM control parameter outputs to be obtained using a single unknown input, i.e., the voltage drop across shunt resistor R_(S). It will be appreciated that the concept of using a LUT to speed critical algorithms is a standard practice used by those of ordinary skill in the art. However, it should also be noted that the use of a LUT storing PWM control parameters used in controlling a plurality of resistor taps to emulate a HV pulse has never before been described or suggested. Furthermore, since the modulation technique described above is a novel solution to emulating a resistance R_(eff) which, in conjunction with a load resistance R_(L) and a capacitor C₀, is used to emulate a capacitor C producing a desired exponentially decaying HV pulse across the load resistance R_(L), the use of a LUT to store the PWM control parameters is likewise a unique and novel aspect according to the present invention.

It should be mentioned that the LUT 440 may be a separate RAM to speed the determination time when the bandwidth of the bus connecting MCU 500 and PLD 430 is limited, which is the condition shown in FIG. 9, or the LUT 440 may be incorporated into the RAM 530 of FIG. 3 when hardware costs or space considerations dictate or when the bandwidth of the bus connecting MCU 500 and PLD 430 permits. Moreover, the LUT 440 advantageously may function as a cache for data sampled by the serial A/D converter 420 during the HV pulse. See FIG. 9.

Using the above described techniques, the critical delay for reducing the voltage error between the actual and ideal HV pulses is the time from the initiation of the HV pulse until initiation of HV pulse emulation by PWM controlled resistor taps responsive to the initial shunt voltage V_(S) value, e.g., the voltage value applied to the LUT. It will be appreciated that there are three components associated with this delay:

(a) the transient settling time;

(b) an A/D conversion period; and

(c) a processing delay in applying the A/D output to the PWM controlled resistor taps. When the HV pulse is initiated, there is a large transient as the output rises rapidly from zero volts to the peak HV pulse value, e.g., a worst case value of 850 Volts. Once this transient has settled, A/D conversion advantageously can be initiated using, for example, a track-and-hold circuit, so that a "clean" shunt voltage may be obtained. It will be appreciated that the delay required for proper settling is dependent on the final circuit design but the expected value is in the range of 5 to 10 μsec based on previous conventional designs. Thus, assuming that sampling can be started 10 msec after the HV pulse is initiated, the A/D conversion and processing delays then become the critical factors yielding a delay in the HV pulse emulation. Thus, the total delay is on the order of 25 μsec when an associated LUT is incorporated into the RAM 530.

The traditional approach for reducing this emulation delay involves the use of fast A/D converters and fast and/or custom hardware such as microprocessors, memories, such as the LUT 440 in FIG. 9, and field programmable gate arrays (FPGAs), e.g., this approach can be a very expensive way of providing a single fast HV pulse correction operation. The electrophysiology diagnostic device system according to the present invention, wherein preferred embodiments are shown, for example, in FIGS. 3 and 9, advantageously can employ one of two alternative comparator based RRVTD circuits, which are illustrated in FIGS. 6 and 7 and which are discussed in detail below, that capitalize on the effects of the lowest valued PWM controlled resistor of the resistor taps, i.e., resistor R₁. These alternative RRVTD circuits are important to the efficacy of the electrophysiology diagnostic device system as without correction a reasonable emulation delay of 25 μsec using conventional circuitry could ultimately generate an error of approximately 25 volts between the ideal and actual HV pulse waveforms for the worst case HV pulse.

In view of the discussion presented immediately above, it will be noted that the two alternative RRVTD circuits described below permit a rapid initial HV pulse emulation approximation, so that the error is reduced during the critical early portion of the exponentially decaying HV pulse. However, it should also be understood that these alternative approaches augment but do replace the conventional sampling method. In other words, the two alternative RRVTD circuits augment the conventional load resistance R_(L) determination approach mentioned above by reducing the delay induced error.

Referring first to FIG. 6, an exemplary analog RRVTD circuit 400 includes a shunt resistor R_(S) connected between load resistance R_(L) and ground. The potential at R_(S) is applied to a positive input terminal of a comparator 410; the negative input terminal of comparator 410 receives an ideal voltage threshold value from microprocessor 520 via DAC 408. The R₁ driver circuit 320 preferably receives the output signal from comparator410, which output signal acts as the control signal needed to control the operation, i.e., turn On, of R₁ driver circuit 320. It will be noted that the use of an analog comparator 410 driven by DAC 408 permits comparison, at a specific time (t), of the actual HV pulse voltage with a programmed threshold voltage. It should also be noted that expansion of the RRVTD circuit 400 according to the analog preferred embodiment of the present invention requires a set of components including one DAC 408 and one comparator 410 for each threshold to be examined, i.e., 2N-1 sets for the determination of 2N-1 thresholds needed to control the operation of N PWM controlled resistor taps. In an exemplary case employing R₁ for rapid HV pulse emulation, resistor R₁ advantageously can be controlled responsive to a threshold denoting the voltage at which R₁ must go from On to Off or vice versa. It should further be noted that rapid HV pulse emulation using two resistors R₁ and R₂ requires three thresholds representing transitions between:

(a) R₁ & R₂ On!and R₁ On & R₂ Off!;

(b) R₁ On & R₂ Off!and R₁ Off & R₂ On!; and

(c) R₁ Off & R₂ On! and R₁ & R₂ Off!. The latter circuit configuration has the advantage of being fast while allowing all determinations to take place independent of the operation of an A/D converter (not shown) receiving the potential applied to shunt resistor R_(S) and sampled after the initial 10 μsec stabilization delay.

The major drawback to this RRVTD circuit 400 is in the number of DAC-comparator sets required and the attendant additional discrete hardware components needed to support the DAC-comparator sets. For example, when emulation of an exponentially decaying HV pulse using more than one resistor R_(N) is being performed, a logic element is required to gate the R_(N) resistor driver circuit 320 appropriately based on the inputs obtained from all of the DAC-comparator sets. It should be noted that the thresholds are determined in such a way that the PWM controlled resistor taps selected for HV pulse emulation are to remain on until some time after the critical delay. For example, the modulation technique with R₁ and R₂ On initially may leave R₁ On throughout the HV pulse emulation and turn R₂ Off at 40 μsec as part of the R₂ modulation required for that HV pulse emulation. It will be appreciated that the design of the comparator circuitry for the implementing the above described modulation technique is a task suited to those of ordinary skill in the art of circuit design and is not shown or described here.

The preferred embodiment described immediately above would be considered a more traditional approach to the problem of fast HV pulse emulation approximation. With a constant 10 μsec determination, the worst case error is just 10 Volts (≈1%) versus 25 Volts (≈3%) for a delay of 25 μsec before emulation.

Referring to FIG. 7, an alternative digital RRVTD circuit 400' includes the shunt resistor R_(S) connected between load resistance R_(L) and ground. The potential applied to R_(S) is also applied to a serial analog-to-digital (A/D) converter 420. The digital bits generated by the serial A/D converter 420 are applied to a one bit digital comparator 422, which advantageously receives bits from the microprocessor 520 via a threshold register 424. Preferably, register 424 receives parallel bits from microprocessor 520 and serially outputs these bits to comparator 422. The output of comparator 422 advantageously controls the switching of PWM controlled resistor R₁ via R₁ driver circuit 320'.

The digital RRVTD circuit 400' capitalizes on the effects of the lowest valued PWM controlled resistor, i.e., R₁, coupled with serial successive-approximation A/D converters such as the so-called Maxim MAX186 or MAX188 devices. It should be noted that the MAX186 and/or MAX188 timing diagram shown in FIG. 8 will be used for all subsequent descriptions of the RRVTD circuit 400' shown in FIG. 7. With reference to FIG. 8, a 2 MHz A/D clock (SCK) is assumed, thus providing a 0.5 μsec per bit timing.

As can be seen from the "State" signal in FIG. 8, the A/D has an internal Track-and-Hold (T/H) circuit which begins tracking on the falling clock edge (SCK) after the fifth bit of the 8-bit control word has been shifted in (DIN) following the active low "CS-" signal. The internal T/H circuit enters its hold mode on the falling clock edge (SCK) after the eighth bit of the 8-bit control word has been shifted in (DIN). Again, assuming a sample at 10 μsec as stated above, the first control bit can be docked to the serial A/D converter 420 just 6 μsec after the actual HV pulse begins (t₀ +6 μsec). Thus, the sample is held in the serial A/D converter 420 at 10 μsec and the most-significant-bit (MSB) of data is available 0.5 μsec later. Advantageously, a new data bit is available each 0.5 μsec until the complete A/D value has been shifted out at 16 μsec. When the complete A/D value is available, the microprocessor 520 of FIG. 3 or the MCU of FIG. 9, for example, may begin determination of the PWM parameters as described above and full PWM control should begin on the order of 25 μsec after the HV pulse has begun, i.e., a reasonable delay, as was assumed previously.

Referring again to FIG. 7, the digital RRVTD circuit 400' compares the serial output from the serial A/D converter 420 to a threshold representing the voltage. The comparator 422 need compare only one bit as the data arrives from the serial A/D converter 420 in a serial fashion with the MSB arriving first. Once a 1-bit comparison has established an inequality, the whole comparison is essentially determined based on that single bit. It should be noted that this is a feature of any algorithm or circuit that compares the MSB first and moves seriatim toward the least-significant bit (LSB).

It should be noted that expansion of the RRVTD circuit 400' according to the digital preferred embodiment of the present invention requires a comparator 422-register 424 set for each threshold to be examined, i.e., 2N-1 sets for the determination of 2N-1 thresholds needed to control the operation of N PWM controlled resistor taps. In an exemplary case employing only R₁ for rapid HV pulse emulation, resistor R₁ advantageously can be controlled responsive to a threshold denoting the voltage at which R₁ must go from On to Off or vice versa. Rapid HV pulse emulation using two resistors R₁ and R₂ again requires three thresholds representing transitions between:

(a) R₁ & R₂ On! and R₁ On & R₂ Off!;

(b) R₁ On & R₂ Off! and R₁ Off & R₂ On!; and

(c) R₁ Off & R₂ On! and R₁ & R₂ Off!. The latter circuit configuration has the advantage of being fast while allowing all determinations to take place independent of the operation of the serial A/D converter 420 receiving the potential applied to shunt resistor R_(S) and sampled after the initial 10 msec stabilization delay.

It should also be noted that the comparator 422 advantageously can set any appropriate flags including a done bit signifying an inequality, completion of a full count, greater than, less than and, if desired, an equality. It will be appreciated that, for a one bit comparator, equality is not established until a counter sets the done bit while inequality flags are not set. Of course, determining an equality takes the same amount of time as a conventional parallel A/D device coupled to a digital word comparator when the full A/D resolution is required. This is only a concern when the input matches the threshold for "R₁ Only" and the "R₂ Only" signal is delayed until the equality is established. The equality need not be established with the full resolution of the serial A/D converter 420; one could choose to restrict all comparisons to some smaller number of bits (6 to 10) to speed determination at the expense of threshold resolution. This worst case determination still eliminates the processing delay and has a far smaller impact than that found for the worst case HV pulse.

The advantage of the digital RRVTD circuit 400' depicted in FIG. 7 is that it uses less hardware than the analog RRVTD circuit 400 shown in FIG. 6, particularly as the comparator 422 may be included in the same FPGA (or comparable device) as the logic required to gate the PWM resistor driver 320', as well as portions of the driver itself, illustrated in FIG. 5. Once one of the PWM controlled resistor taps has been determined, i.e., a threshold comparison is complete, the digital RRVTD circuit 400' functions identically to the analog RRVTD circuit 400.

It will be appreciated that the principal disadvantage of the digital RRVTD circuit 400' is that the comparison time for each threshold is non-deterministic, i.e., determination takes from one to M bits, where M is 12 or less, for the MAX 186/188. This is not as large a disadvantage as one might first think, since the rate of determination is proportional to the difference between the actual HV pulse at time (t) and the threshold voltage representing the ideal HV pulse. Thus, this difference or error is directly proportional to the error between the actual and ideal signals. For example, the worst case HV pulse will produce a large HV pulse to threshold difference, causing operation parameters for PWM controlled resistors R₁ and R₂ to be determined quickly, while a HV pulse emulated using PWM controlled resistor R₂ only, which is right on the "R₁ Only" threshold, will take the full bit count for determination. Given HV=850 Volt peak, R_(L) =28Ω, C=50 μF and C₀ =172.5 μF, and assuming that the PWM resistance R_(eff) is on the R₁ threshold of 11.4 Ω, there is a 7 Volt (˜1%) error when emulation is delayed for 16 msec, assuming a full 12-bit comparison rather than a shorter 6 to 10 bit comparison. Due to the nature of this method, the maximum error for all cases can be restricted to the worst case error of ≈10 Volts (≈1%) for a correction started at ≈10 msec.

It is worth noting that the threshold resolution, i.e., the number of bits compared, need not be constant. The resolution can be established for each emulation once the peak HV pulse voltage and emulation capacitance (C) are known. This advantageously could be accomplished using a simple register and variable length counter, circuitry very familiar to those of ordinary skill in the art of digital design. This dynamic threshold resolution may be considered to be important as the peak HV pulse value drops and finer resolution is required for threshold comparisons.

FIG. 9 illustrates a more detailed preferred embodiment of electrophysiology diagnostic device 200, which preferably includes a VCE circuit 300' having a pair of 300 μF capacitors C_(0-T) and C_(0-B) connected to a capacitor charging circuit and switches module 350, and a plurality of PWM controlled resistors R₁ -R₄, each of these resistors being connected in parallel with load resistor R_(L) via output bridge module 360. In FIG. 9, the driver circuit 320' and switches S₁ -S_(N) depicted in FIG. 5 are depicted as a consolidated switch and driver circuit SD_(N), where SD_(N) controls PWM controlled resistor R_(N), respectively. The electrophysiology diagnostic device 200 preferably also includes a RRVTD circuit 400' including the serial A/D converter 420, a programmable logic device (PLD) 430, which PLD preferably includes a 1-bit comparator (See FIG. 7.), operatively connected to a lookup table (LUT) 440. As discussed in greater detail below, the module 350 and the PLD 430 are operatively connected to and operated by microcontroller unit (MCU) 500.

In an exemplary and non-limiting case, the electrophysiology diagnostic device 200 is constructed according to the following specifications:

15≦R_(L) ≦120 Ohms;

50≦C≦120 μF (for emulation (where C=C₀ for 150 μF Nominal));

C₀ =C_(0-T) +C_(0-B) =150 μF+20%, -10% (135≦C₀ ≦180 μF);

C_(0-T) =300 μF+20%, -10% (270≦C₀ ≦360 μF);

C_(0-B) =300 μF+20%, -10% (270≦C₀ ≦360 μF);

50≦V₀ ≦850 Volts; and

R_(S) =0.0626 Ω≈1/16 (+0.16%).

It should be noted that the modulation techniques described above are intended to be used with a fast, powerful MCU 500, such as a Motorola MC68332 device or a ColdFire (52xx) device. It should aim be mentioned that there are two basic control approaches: open loop control; and closed loop control. The open loop approach uses a single impedance measurement to determine the PWM control parameters used during the entire HV pulse. An MC68332 has sufficient processing speed and power for this approach. Closed loop control updates the PWM control parameters based on a series of impedance measurements so as to reduce error and compensate for possible changes in patient impedance and capacitor voltage-related non-linearities. If the loop is loosely closed, i.e., data updates occur only occasionally, the MC68332 may be sufficient for the task. However, if the control loop is tightly closed, i.e., data updates occur frequently, the more modem ColdFire (52xx) class of MCU may be required to provide the necessary performance and margin. In an exemplary case wherein the control loop is tightly closed, values at both shunt resistor R_(S) and voltage divider R_(VD) are alternately sampled using a switch (not shown) connected to the serial A/D converter 420 during each loop cycle.

Preferably, the module 350 is under MCU 500 control with the exception that charge/deliver (C/D) and capacitor selection (CS) control signals are externally produced. When a therapeutic HV pulse is to be delivered, the C/D control signal is set to a deliver mode of operation, which impedes charging. This control signal returns module 350 to the charge state after the HV pulse is terminated, provided an error has not occurred, e.g., the signal is then used to prevent the capacitors C_(0-T) and C_(0-B) from recharging. The CS control signal advantageously selects between C₀ =C_(0-T) in series with C_(0-B), which thus produces an effective 150 μF capacitor or C₀ =C_(0-B), which results in an actual 300 μF capacitor being used to deliver the HV pulse.

Advantageously, output bridge module 360 allows the patient load resistance R_(L) to be connected in such a manner that either a positive or a negative HV pulse is selectively delivered. It should be noted that since the actual capacitor values and the shunt current and associated voltage drop are always positive, the serial A/D converter 420 may advantageously use a unipolar (positive) input.

Referring specifically to FIG. 9, the MCU 500 sets the PLD 430 to a delivery mode of operation via the data bus and then uses the Timing Control (TC) signals to initiate a HV pulse event. This advantageously allows the MCU 500 to be isolated from the precise timing requirements of the delivered HV pulse. For fault conditions, the MCU 500 provides the ability to terminate the delivered HV pulse at any time by de-asserting the TC signals.

The LUT 440, which may in an exemplary case be a RAM, is controlled by the PLD 430 so that during delivery of the HV pulse, the appropriate PWM parameters advantageously may be established. The LUT 440 preferably is loaded by the MCU 500, as discussed in greater detail below, in a write-through fashion and may be verified in a read-through fashion. In an exemplary case, the LUT 440 may be viewed as a multi-dimensional array with the initial shunt voltage V_(S) measurement, which corresponds to current applied to the patient's heart, used as the index. Tabled values include the PWM configuration and the a₁ (first duty factor) for each period T. When using the optimal PWM modulation technique, one PWM controlled resistor, e.g., R₁, is On for the initial a₁ portion of the operating period T, the operated resistor R₁ then it is turned Off and another PWM controlled resistor, e.g., R₂, advantageously may be switched On for the remainder, a₂, of the period T. This is equivalent to the duty factor with the first tap modulated. The period T may also be stored as a table value or it may be determined from the PWM controlled resistor taps being modulated. To save space while increasing the operating speed of the LUT 440, the PWM control configuration advantageously may be stored in a single byte. Each bit of the byte would identify whether a given resistor is On during the α₁ portion or the α₂ portion of the period T. The Table presented immediately below depicts an exemplary byte wherein a 1 in a given bit position would turn the corresponding one of the resistor taps On for the indicated portion of the period T. Preferably, a count value corresponding to the α₁ portion of the period T is stored as a second byte in LUT 440. Thus, the first byte specifies which of the resistor taps transition between On and Off states while the second byte specifies the time after the start of period T at which all transitions occur.

It should be noted that since the lowest resistance R₁ is approximately 12 Ω, R₁ will generally be too slow to be modulated. Consequentially, the α₁ and α₂ pair of values would always be either "00" or "11". A value of "11100100" would denote that R₁ is always on, R₂ is turned On during the a₁ portion of period T only, R₃ is turned on during the α₂ portion of period T only and R₄ would remain off during the whole period T. This corresponds to ID No. 8 for R₁ On (7.57 to 8.22 Ω range), as shown in FIG. 12.

    ______________________________________                                         R.sub.1     R.sub.2    R.sub.3    R.sub.4                                      ______________________________________                                         1      1        1     0      1   1      0   0                                  α.sub.1                                                                         α.sub.2                                                                           α.sub.1                                                                        α.sub.2                                                                         α.sub.1                                                                      α.sub.2                                                                         α.sub.1                                                                      α.sub.2                      ______________________________________                                    

The operation of electrophysiology diagnostic device 200, as illustrated in FIG. 9 will now be described while referring to both FIG. 9 and the flow chart of FIG. 11. It will be appreciated that the electrophysiology diagnostic device system described thus far advantageously can emulate a variety of HV pulses corresponding to source capacitance C values in the range of approximately 50-150 μF, preferably in 1.0 μF steps, in combination with a variable load resistance R_(L) in the range of approximately 15-120 Ω, in 1 Ω steps. Preferably, the electrophysiology diagnostic device system 200 can emulate the HV pulses produced by ICDs with non-linear capacitance C values that change by approximately 20% or more with voltage. The technique illustrated in the flow chart of FIG. 11 allows the electrophysiology diagnostic device system output to be driven in such a way as to emulate variable and non-linear capacitance C values with a variable load resistance R_(L) i.e., non-linear RC characteristics as discussed below.

During step 1, electrophysiology diagnostic device 200 is energized and allowed to warm up as needed. Then, electrophysiology diagnostic device 200 is initialized and calibrated to determine, for example, the actual values of C_(0-T) and C_(0-B) and proper operation of the respective IGBTs in SD₁ through SD_(N), during step 2. It should be noted that output module 360 preferably is disabled during the calibration operation.

Preferably, the PWM controlled "taps" can be used in calibrating the circuitry and determining the value of C₀, i.e., C_(0-T) and C_(0-B), such that C₀ is either C_(0-B) alone or C_(0-T) in series with C_(0-B) depending on the state of the CS control signal. During step 2, the capacitor bank C₀ is first charged to its maximum voltage value. A check is then made for current flow through the shunt resistor R_(S) ; if current flow is detected through R_(S), then a failure in the IGBT output switch in output bridge module 360 is detected, nominally during performance, i.e., interrupt performance, of step 3 and declared, the charging operation is aborted, C_(0-T) and C_(0-B) are discharged during step 4 and operation ends during step 5. In short, electrophysiology diagnostic device 200 disables itself upon detection of a predetermined error condition in any one of the electrophysiology diagnostic device 200's primary subsystems.

Still referring to step 2, a full voltage (150 μF, V_(FULL)) HV pulse is initiated, thereby disabling the capacitor charging circuit. Then, beginning with the lowest valued tap, R₁, each of the four taps R₁ . . . R₄, are activated for 1 msec and the initial and final voltages for each such activation are recorded. Immediately following the recording of the voltage Vf4, a half voltage (300 μF, 1/2V_(FULL)) HV pulse will then be initiated, i.e., the capacitor charging circuit remains disabled, and then, beginning with the lowest valued tap, each of the four taps is again activated for 1 msec and the initial and final voltages will again be recorded.

The values of C₀, C_(0-T), and C_(0-B), assuming 10% or less precision, advantageously can then be determined (calculated) in numerous ways, e.g., as the average of the values from each of the previous eight discharges. It should be noted that the taps, i.e., the PWM controlled resistor taps have a precision ≦1%. Since the uncertainty (noise) of a value follows the square root of the number of samples, the capacitor C₀ values can be determined to within about 0.5% with a 1% maximum error when 1% tap resistors are used. Advantageously, the tap resistance values may then be adjusted accordingly for consistency. This should determine the tap resistance values within 0.5% average error with a 1.5% worst case actual error within the ±1% error window. When the capacitor C₀ or resistor taps have values which are determined to be outside the manufacturer's specification, i.e., the error is greater that 1% for any of the PWM controlled resistor taps, then an error will be identified at step 3 and the electrophysiology diagnostic device 200 will shut itself down at step 5 after performing step 4. It should be noted that an alterative technique would be to provide and make use of the above-described calibration technique but using a much higher precision tap (0.1%) for calculating the above values. Ideally, this would be the highest valued tap, i.e., the 130 Ω resistor R₄, so that the effects of the switching circuit SD₄ would be minimal.

Still referring to step 2, when a HV pulse, or a portion thereof, has been completed, and the appropriate signals have been asserted or de-asserted, then the electrophysiology diagnostic device 200 system hardware is monitored for output IGBT failures. If either the capacitor voltage V_(c) is changing, i.e., discharging, so that two consecutive samples are not within some noise margin, or the shunt resistor current is not approximately zero, e.g., some very small value below a noise margin, then the output bridge module 360 is determined to be malfunctioning. It will be appreciated that the later situation indicates that energy is being applied to the patient, i.e., R_(L). In that event, all PWM controlled resistor taps are commanded On during step 4 and the electrophysiology diagnostic device 200 turns itself Off during step 5. Step 4 thus acts as electrophysiology diagnostic device 200's "Emergency Brake", as discussed in greater detail below. If an error is not identified during step 3, the electrophysiology diagnostic device 200 proceeds to step 6.

It should be noted turning On all of the resistor taps simultaneously acts to drain the capacitor C₀ stack through the PWM resistor taps with the minimal energy going to the load (R_(L)). This is equivalent to pulling the Emergency Brake on a train; it does not stop the train immediately but it is the best that can be done. It should also be noted that if the output IGBT has failed short then the output will not drop to zero immediately; it will decay towards zero very quickly with a minimal "overdose" of energy to the patient.

It should be mentioned that to facilitate construction of multiple LUTs based on different capacitance and voltage parameters, an intermediate R_(eff) range table advantageously can be constructed. This range table would be solely a function of the tap values determined through calibration and represents the optimal configuration type for a small portion of the total emulation range of R_(eff). The range table preferably is constructed by comparing each valid configuration type for the given small range of emulated resistances and identifying the configuration type that provides the least error, i.e., ripple.

Recalling that the electrophysiology diagnostic device 200 load impedance R_(L) is not known at the beginning of each therapeutic HV pulse, it may be assumed that the sequential therapeutic HV pulses have very similar R_(L) s. However, modifications to the lead system such as repositioning a lead or adding a patch electrode would invalidate that assumption. The "fix" of having the operator prompted to enter an initial R_(L) estimate has several drawbacks including the added complexity to the user interface, the increased potential for operator error, and an unknown actual value that may vary with the therapeutic HV pulse.

When the initial capacitor voltage V₀ is programmed during step 6, the LUT 440 advantageously can be loaded with a table of initial resistance estimate values so that, at time t₀ when the initial output current shunt voltage V_(S) is sampled (≈5 to 10 μsec after t₀), the initial R_(L) estimate can be quickly taken from this table. Preferably, the table could be constructed using the simple equation

    R.sub.L ≅V.sub.0 /I=(V.sub.0 *R.sub.S)/V.sub.S   (14)

where V≅V₀ to the first order at time t₀. The index to the table is V_(S) as a truncated byte value for 0.5 Ω resolution (128 Ω/256). The second order equation where

    R.sub.L =V/I=(V*R.sub.S)/V.sub.S (where V≠V.sub.0)   (15)

is easily calculated using the voltage drop from the table of e^(-t/)τ, as described in greater detail below, and the small voltage drops associated with any peripheral circuitry such at the output bridge module 360 and the shunt resistor itself. It will be appreciated that for a 0.1 Ω shunt resistor R_(S) carrying 56 Amps, the voltage drop will be only 5.6 Volts. For a 15 Ω R_(L) and a 50 μF (worst case), an estimate of 15.3 Ω, where the actual V=(0.987*V₀)-V_(S) is used when calculating V_(S) at 10 μsec, represents only a 2% error. For 120 Ω R_(L) and a 150 μF(best case), the estimated load resistance R_(L) is 120.2 Ω which is a 0.1% error. It seems reasonable that an initial estimate of 2% is sufficient to begin the PWM correction process. Subsequent sampling of R_(L) as calculated from V_(S) and the actual output voltage (V) advantageously can provide much better resolution and control during the therapeutic HV pulse and would compensate for any noise induced effects.

Moreover, during step 6, the operator selects a capacitance table, which is a simple array mapping capacitance values with indexing in volts. In an exemplary case, the capacitance is determined at 10 Volt increments, e.g., a 0 to 850 Volt range contains indexes ranging from 0 to 85. It will be appreciated that if a linear capacitance is to be emulated, then the capacitance table will have a constant capacitance C in all locations. Then, a capacitance index table (CIT) is generated by subtracting the lowest capacitance value from each value in the capacitance table. The CIT is then used in generating a table of e^(-t/)τ values, the use of which is discussed in greater detail below.

Moreover, during step 6, a decay table of values e^(-t/)τ for all of the various RC combinations is generated so that each 10 msec a new output voltage can be calculated using the formula

    V.sub.new =V.sub.last *e.sup.-t/τ.                     (16)

It will be appreciated that the decay table advantageously can be built using a truncated Taylor series where

    e.sup.x =1+x+x.sup.2 /2|+x.sup.3 /3|+x.sup.4 /4|+          (17)

which can be is approximated as

    e.sup.x ≈1+x+x.sup.2 /2|+x.sup.3 /3|               (18)

It should be noted that this algorithm uses 16-bit words, where the resultant 16-bit word is accurate to one part in 2.5 million (0.4 PPM) for the worst case, i.e., R_(L) =15 Ω and C=50 μF. It should also be noted that it is important to use 32-bit math as the round-off error for 4000 iterations used in modeling a 20 msec HV pulse can be significant when e^(x) ≈0.99, even when only four Taylor series terms are used.

Finally, the HV pulse is initiated during step 7 and sampling of the potential across shunt resistor R_(S) begins. During step 8, a determination is made as to whether the load resistance R_(L) has been determined completely. In an exemplary case, the load resistance sampling is said to be completed when the entire output word from an A/D device, preferably the serial A/D converter 420, is available. When less than the entire output word is available, operational control passes to step 9. During step 9, the RRVTD circuit 400', for example, determines whether an error between the actual and ideal HV pulse waveforms has occurred on a bit-by-bit basis. When an error is identified, PLD 430 activates at least one of the elements SD₁ -SD₄ in order to begin correction of the actual HV pulse waveform as soon as possible, as discussed above and in greater detail immediately below. When the current 1-bit comparison has been completed, the operating sequence loops back to the start of step 8.

During step 9, the digital bit stream corresponding to the potential at R_(S) generated by A/D converter 420 is applied to three one bit comparators included in PLD 430. Each of the one bit comparators receives a threshold voltage value from a respective register so that the bit stream corresponding to the actual waveform can be compared with the three thresholds simultaneously. The three values of V_(S) are then written to the FPGA, i.e., PLD 430, for use by the RRVTD circuit 400', which is described in greater detail above. Thus, the V_(S) values corresponding to the transitions between the various PWM control modes of operation advantageously can be used to determine whether an error needing compensation is occurring and the specific ones of the PWM controlled resistor taps best suited to deal with the error. It should be mentioned that the values associated with the PWM control configuration are optional for the RRVTD circuit 400' since the PWM control configuration stored in connection with the RRVTD circuit 400' is an interim modulation technique. Thus, it may be advantageous to simply turn on one or more predetermined resistors, e.g., R₁ and R₂, since full HV pulse emulation is expected to start approximately 25 μsec after the HV pulse is initiated.

    ______________________________________                                         Range          In Range     Out of Range                                       ______________________________________                                         R.sub.1 On and R.sub.2 ON                                                                     11 1x xx xx  11 0x xx xx                                        R.sub.1 On and R.sub.2 Off                                                                    11 0x xx xx  00 1x xx xx                                        R.sub.1 Off and R.sub.2 On                                                                    00 1x xx xx  00 0x xx xx                                        ______________________________________                                    

When the entire output word from A/D converter 420 is available, step 10 is performed to determine whether the RC characteristic is linear. It will be appreciated that the RC characteristic is linear only if the capacitance C to be emulated is linear and the resistance R_(L) is constant throughout the HV pulse. In an exemplary case, the voltage characteristic of capacitance C is preferably determined when the capacitance value is set during step 6. It will be noted that a minimal implementation of step 10 would be to check for the presence of a flag indicative of a non-linear capacitance voltage characteristic or variable R_(L), which flags can be set during step 6.

In the event the capacitance C is to emulated as a linear device and R_(L) is assumed to be constant, variable capacitance emulation using a constant voltage characteristic is performed during step 15. It should be noted that this is "open-loop" control method. However, in the event that the capacitance C to be emulated is non-linear or R_(L) is variable, the subroutine including steps 11-14 is performed, thus implementing the "closed-loop" control method. Preferably, for each short interval, e.g., 20 to 100 μsec, during the HV pulse event, the following subroutine advantageously can be used to determine the ideal HV pulse voltage.

First, the actual load resistance R_(L) is sampled using, in an exemplary case, the shunt resistor R_(S) and voltage divider R_(VD) during step 11 and then the C index value is determined for the actual high voltage HV during step 12. Then, the next expected voltage component for the ideal HV pulse is calculated using equation (16) during step 13. It should be noted that the calculated voltage component can be provided to an analog comparator, e.g., the analog comparator 410, via a digital-to-analog converter (DAC) 408. Finally, the modulation technique is initiated so as to advantageously match the instantaneous voltage of the actual HV pulse to the output voltage of the ideal HV pulse during step 14. In short, the resistor taps are servoed to match Vnew during step 14.

Referring again to FIG. 9, it should be noted that the dynamic resistance values generated by the resistor taps can be quite broad, depending on which of the resistors R₁ -R₄ are operated and whether the operated ones of these resistor taps are merely turned On or the operated ones of the resistor taps are PWM controlled. For example, as shown in FIG. 12, the resistance range will appreciably vary depending on whether or not resistor R₁ is On, i.e., connected in parallel with the other operated ones of the resistor taps, for each one of the different modulation technique combinations. Moreover, for each of the combinations listed in FIG. 12, there will be one point in the resistance range wherein the error or ripple associated with the emulated resistance R_(eff) is a maximum value. Stated another way, ripple advantageously can be minimized by avoiding the points in the combinations producing the maximum ripple values for a selected R_(eff).

Moreover, it should also be mentioned that the value of R_(eff) and the modulation technique combination needed to achieve the minimum possible ripple are a function of the actual capacitance C₀, which was determined during calibration. Thus, given a value of C₀, the PWM type encoding and its associated a₁ can be stored in a LUT, i.e., either the RAM 530 of MCU 500 or LUT 440, for each of the expected values of V_(S) read by A/D converter 420, as illustrated in FIG. 13. Thus, the voltage drop at shunt resistance R_(S), which is indicative of the resistance of R_(L), advantageously can be used as index values for the LUT; the output of the LUT preferably is a digital word identifying the modulation technique to be implemented, as shown in FIG. 12, and a second digital word identifying the count value corresponding to the a₁ portion of the period T, as discussed in greater detail above.

It should be noted that the inventive method works for all PWM based resistor emulation circuits and is not limited to the emulation of a variable capacitance via a variable resistor as described above. It should also be mentioned that while some of these concepts are specific to exponentially decaying RC waveforms, other features according to the present invention are generic and have broader applications.

Other modifications and variations to the invention will be apparent to one of ordinary skill in the art from the foregoing disclosure and teachings. Thus, while only certain embodiments of the invention have been specifically described herein, it will be apparent that numerous modifications may be made thereto without departing from the spirit and scope of the invention. 

What is claimed is:
 1. An electrophysiology diagnostic system for electrical connection to a patient's heart, said diagnostic system including a microprocessor and a load resistance measuring device, wherein the diagnostic system is usable during cardiac surgical procedures including implantation of implantable cardioverter-defibrillator devices for generating a high voltage (HV) pulse, said system comprising:a rapid response voltage threshold determination (RRVTD) circuit receiving an actual signal corresponding to an actual waveform of the HV pulse, comparing said actual signal with a desired signal generated by the microprocessor, and generating an error signal when the actual signal deviates from said desired signal by a predetermined threshold value within a predetermined short period of time; and a variable capacitance emulation circuit capable of emulating a selected capacitance C, said variable capacitance emulation circuit comprising a fixed capacitor C₀, and first and second branch circuits including respective resistors R₁ and R₂ and corresponding switching elements coupled in series therewith, in operation said branch circuits being connected in parallel with a load resistance R_(L) comprising said patient's heart, wherein said selected capacitance C satisfies the expression

    C= (R.sub.L ||R.sub.eff)*C.sub.0 !/R.sub.L,

wherein R_(eff) is an effective resistance value produced by pulse width modulation control of at least one of said first and said second resistors R₁ and R₂ using corresponding ones of said switch elements, and wherein said predetermined short period of time is less than a measuring time required for the load resistance measuring device to measure the load resistance R_(L) after initiation of the HV pulse.
 2. The electrophysiology diagnostic system as recited in claim 1, wherein the effective resistance R_(eff) produced by pulse width modulation control of said first and said second resistors R₁ and R₂ using said first and said second switch elements satisfies the expression

    R.sub.eff =(R.sub.1 *R.sub.2)/((α.sub.2 *R.sub.1)+(α.sub.1 *R.sub.2))

where a₁ and a₂ denote respective percentages of a unit period of time T during which the first and the second switching elements are conducting such that α₁ +α₂ =1 T.
 3. The electrophysiology diagnostic system as recited in claim 1, wherein said desired signal comprises a plurality of digital words, and wherein said RRVTD circuit comprises:a parallel to serial converter operatively connected to the microprocessor for generating a desired serial bit steam from said digital words; a serial analog to digital converter generating an actual serial bit stream corresponding to the actual waveform; and a digital single bit comparator receiving said actual serial bit stream and said desired serial bit stream so as to permit generation of an error signal when an error between said desired and said actual waveforms exceeds a predetermined threshold.
 4. The electrophysiology diagnostic system as recited in claim 3, wherein said single bit comparator is coupled to receive both said actual serial bit stream and said desired serial bit stream in most significant bit to least significant bit order and wherein said error signal is generated when a non-zero bit is generated by said single bit comparator thereby signifying that said error between said desired and said actual waveforms exceeding said predetermined threshold has occurred.
 5. An electrophysiology diagnostic system delivering a high voltage (HV) pulse to a patient's heart which has a measurable load resistance R_(L), said diagnostic system comprising:a fixed capacitor C₀ ; a plurality of branch circuits each having one resistor and a corresponding switching and driving element, each of said branches being coupled between one node of said capacitor C₀ and ground; a microprocessor generating first digital words corresponding to a desired shape of the HV pulse; a load resistance measuring device generating second digital words describing the actual shape of the HV pulse; a look up table indexed by said second digital words for storing a plurality of configuration words; and a programmable logic device electrically connected to said microprocessor, said respective switch elements of said branch circuits, and said load resistance measuring device, said programmable logic device receiving said first and said second digital words, comparing said first and second digital words, reading a first of said configuration words when said second digital word deviates from said first digital word by a predetermined threshold value within a predetermined short time period, reading a second of said configuration words after said predetermined short time period has expired, said programmable logic device providing said first and said second configuration words to said respective switching and driving elements of said branch circuits; wherein said respective switching and driving elements of said branch circuits generate respective first and second sets of pulse width modulation control signals responsive to said first and said second of said configuration words, so as to permit first selected ones of said branch circuits to connect said capacitor C₀ to ground responsive to said first set of said control signals during said predetermined short time period to thereby prevent excess energy provided by said capacitor C₀ from being applied to the load resistance, and second selected ones of said branch circuits to connect said capacitor C₀ to ground responsive to said second set of said control signals after said predetermined short time period has expired so as to convert said actual shape of the HV pulse into said desired shape of the HV pulse.
 6. The electrophysiology diagnostic system as recited in claim 5, wherein said second selected ones of said branch circuits operated after said predetermined short time period has expired comprise a first branch including a first resistor R₁ having a first value and a first switching element, and a second branch including a second resistor R₂ having a second value and a second switching element, wherein said second selected ones form an effective resistance R_(eff) satisfying the expressions:R₁ ≦R_(eff) ≦R₂, and R_(eff) =(R₁ *R₂)/((α₂ *R₁)+(α₁ *R₂)) where α₁ and α₂ denote respective percentages of a unit period of time T during which said first and said second switching elements are conducting such that α₁ +α₂ =1 T.
 7. The electrophysiology diagnostic system as recited in claim 5, wherein said second selected ones of said branch circuits operated after said predetermined short time period has expired comprise a first branch including a first resistor R₁ having a first value and a first switching element, and a second branch including a second resistor R₂ having a second value and a second switching element, wherein said second selected ones form an effective resistance R_(eff) satisfying the expressions:R₁ ≦R_(eff) ≦R₂, and R_(eff) =(R₁ *R₂)/((α₂ *R₁)+(α₁ *R₂)) where a₁ and a₂ denote respective percentages of a unit period of time T during which said first and said second switching elements are conducting such that α₁ +α₂ =1 T, and wherein said second selected ones of said branch circuits and said capacitor C₀ cooperatively emulate a desired capacitance C with respect to the load resistance (R_(L)), wherein the capacitors C and C₀ are related by the expression: C= (R_(L) ||R_(eff))*C₀ !/R_(L).
 8. A method for controlling an electrophysiology diagnostic system delivering a high voltage (HV) pulse to a patient's heart which has a measurable load resistance R_(L) including a fixed capacitor, a plurality of branch circuits each having one resistor and a corresponding switching and driving element, each of said branches being coupled between a first node of said capacitor and ground, a microprocessor generating first digital words corresponding to a desired shape of the HV pulse, a load resistance measuring device generating second digital words corresponding to the actual shape of the HV pulse, a look up table indexed by said second digital words for storing a plurality of configuration words and a programmable logic device electrically connected to the microprocessor, the respective switch and driver elements of the branch circuits, and the load resistance measuring device, said method comprising the steps of:(a) receiving said first and said second digital words; (b) comparing said first and second digital words; (c) reading a first of said configuration words when said second digital word deviates from said first digital word by a predetermined threshold value within a predetermined short time period; (d) providing said first of said configuration words to said respective switching and driving elements of said branch circuits; (e) pulse width modulation controlling said switching and driving elements of said branch circuits responsive to said first of said configuration words, whereby said capacitor is connected to ground through first selected ones of said branch circuits during said predetermined short time period to thereby prevent excess energy provided by said capacitor from being applied to the load resistance; (f) reading a second of said configuration words after said predetermined short time period has expired; (g) providing said second of said configuration words to said respective switching and driving elements of said branch circuits; and (h) pulse width modulation controlling said switching and driving elements of said branch circuits responsive to said second of said configuration words, whereby said capacitor is connected to ground through second selected ones of said branch circuits after said predetermined short time period has expired to thereby convert said actual shape of the HV pulse into said desired shape of the HV pulse.
 9. The method for controlling an electrophysiology diagnostic system as recited in claim 8, wherein said step (b) comprises comparing respective bits of said first and second digital words bit-by-bit.
 10. The method for controlling an electrophysiology diagnostic system as recited in claim 8, wherein said each of said first and said second digital words comprises N bits, wherein said step (a) comprises receiving serially provided said first and said second digital words, and wherein said predetermined short time period corresponds to the time required to receive less than said N of said bits of said second digital words, where N is an integer greater than or equal to
 1. 11. The method for controlling an electrophysiology diagnostic system as recited in claim 8, wherein said step (f) further comprises reading said second of said configuration words after said predetermined short time period has expired and a first full one of said second digital words has been received during said step (a).
 12. A method for limiting energy in a high voltage (HV) pulse delivered from an electrophysiology diagnostic system to a patient's heart which has a measurable load resistance R_(L), the electrophysiology diagnostic system having a fixed capacitor, a plurality of branch circuits each having one resistor and a corresponding switching and driving element, each of said branches being coupled between a first node of said capacitor and ground, a microprocessor controlling a desired shape of the HV pulse, a first measuring device generating a first signal indicative of the load resistance R_(L), a second measuring device generating a second signal indicative of voltage of the fixed capacitor, and a programmable logic device electrically connected to the microprocessor, the respective switch and driver elements of the branch circuits, and the first and second measuring devices, said method comprising the steps of:detecting at least one of the first and second signals, indicating that the energy in the fixed capacitor is being dissipated by the load resistor R_(L) ; and coupling the fixed capacitor to ground using all of the branch circuits simultaneously to thereby minimize the energy stored in the fixed capacitor that is dissipated by load resistor R_(L). 